package com.ning.weixin.entity;

/**
 * 用户打卡地址中间表
 * @author Cyan
 * @Date:2018/12/12
 */
public class UserAddress {

    /**
     * id
     */
    private String id;

    /**
     * 用户openId
     */
    private String openId;

    /**
     * 打卡地址id
     */
    private String addressId;

    /**
     * 对应的打卡地点可打卡次数
     * 默认为2
     */
    private Integer downClockNum;

    public UserAddress() {
    }

    public UserAddress(String openId, String addressId, Integer downClockNum) {
        this.openId = openId;
        this.addressId = addressId;
        this.downClockNum = downClockNum;
    }

    public UserAddress(String id, String openId, String addressId) {
        this.id = id;
        this.openId = openId;
        this.addressId = addressId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public Integer getDownClockNum() {
        return downClockNum;
    }

    public void setDownClockNum(Integer downClockNum) {
        this.downClockNum = downClockNum;
    }
}
